package com.zzyl;

import com.zzyl.common.utils.PDFUtil;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

public class PDFText {
    public static void main(String[] args) throws FileNotFoundException {
        InputStream inputStream = new FileInputStream("E:\\JavaProject1\\项目一：中州养老\\10. 智能评估-集成AI大模型、禅道\\资料\\体检报告样例\\体检报告-刘爱国-男-69岁.pdf");
        String result = PDFUtil.pdfToString(inputStream);
        System.out.println(result);
    }
}
